import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
	state: {		
		acId: '',   // 登录账号id
		custAccid: '',  // 商家账套id
		empId: '',  // 登录员工id
		
	},
	getters: {

	},
	mutations: {
		set_acId(state, value) {
			state.acId = value;
		},
		set_custAccid(state, value) {
			state.custAccid = value;
		},
		set_empId(state, value) {
			state.empId = value;
		},
	},
	actions: {

	}
})

export default store